/* 打包时间：2025-11-29 21:10:27 */
(function(){
  try{
    var bridge = null;
    try{ bridge = runtime && runtime.accessibilityBridge; }catch(e){}
    if(!bridge){
      try{
        var m = runtime.getClass().getDeclaredMethod("getAccessibilityBridge");
        m.setAccessible(true);
        bridge = m.invoke(runtime);
      }catch(e){}
    }
    if(!bridge){ return; }
    try{
      var WF = Packages.com.stardust.autojs.core.accessibility.AccessibilityBridge$WindowFilter;
      bridge.setWindowFilter(new JavaAdapter(WF,{ filter:function(info){ return true; } }));
    }catch(e){}
  }catch(e){}
})();
module['exports'] = function (_0x4596aa) {
    var _0x6d78bd = {};
    function _0x200263(_0x354da1) {
        if (_0x6d78bd[_0x354da1])
            return _0x6d78bd[_0x354da1]['exports'];
        var _0x2d9924 = _0x6d78bd[_0x354da1] = {
            'i': _0x354da1,
            'l': ![],
            'exports': {}
        };
        return _0x4596aa[_0x354da1]['call'](_0x2d9924['exports'], _0x2d9924, _0x2d9924['exports'], _0x200263), _0x2d9924['l'] = !![], _0x2d9924['exports'];
    }
    return _0x200263['m'] = _0x4596aa, _0x200263['c'] = _0x6d78bd, _0x200263['d'] = function (_0x31988c, _0x3b5c36, _0x20bab1) {
        !_0x200263['o'](_0x31988c, _0x3b5c36) && Object['defineProperty'](_0x31988c, _0x3b5c36, {
            'enumerable': !![],
            'get': _0x20bab1
        });
    }, _0x200263['r'] = function (_0x126791) {
        typeof Symbol !== 'undefined' && Symbol['toStringTag'] && Object['defineProperty'](_0x126791, Symbol['toStringTag'], { 'value': 'Module' }), Object['defineProperty'](_0x126791, '__esModule', { 'value': !![] });
    }, _0x200263['t'] = function (_0x4b91d, _0x18497e) {
        if (_0x18497e & 0x1)
            _0x4b91d = _0x200263(_0x4b91d);
        if (_0x18497e & 0x8)
            return _0x4b91d;
        if (_0x18497e & 0x4 && typeof _0x4b91d === 'object' && _0x4b91d && _0x4b91d['__esModule'])
            return _0x4b91d;
        var _0x3650a5 = Object['create'](null);
        _0x200263['r'](_0x3650a5), Object['defineProperty'](_0x3650a5, 'default', {
            'enumerable': !![],
            'value': _0x4b91d
        });
        if (_0x18497e & 0x2 && typeof _0x4b91d != 'string') {
            for (var _0x53bb87 in _0x4b91d)
                _0x200263['d'](_0x3650a5, _0x53bb87, function (_0x3d4258) {
                    return _0x4b91d[_0x3d4258];
                }['bind'](null, _0x53bb87));
        }
        return _0x3650a5;
    }, _0x200263['n'] = function (_0x43d0aa) {
        var _0x4b8de8 = _0x43d0aa && _0x43d0aa['__esModule'] ? function _0x3aed21() {
            return _0x43d0aa['default'];
        } : function _0x46c0ce() {
            return _0x43d0aa;
        };
        return _0x200263['d'](_0x4b8de8, 'a', _0x4b8de8), _0x4b8de8;
    }, _0x200263['o'] = function (_0x293cf6, _0x5b34e1) {
        return Object['prototype']['hasOwnProperty']['call'](_0x293cf6, _0x5b34e1);
    }, _0x200263['p'] = '', _0x200263(_0x200263['s'] = 0x22);
}({
    0x0: function (_0x5c5094, _0x478a96) {
        _0x5c5094['exports'] = require('./lib.js');
    },
    0x2: function (_0x399b3d, _0x40f2cc) {
        _0x399b3d['exports'] = require('./log.js');
    },
    0x22: function (_0x2f858d, _0x38b027, _0x58a3c3) {
        var _0x31cbe2 = {};
        _0x2f858d['exports'] = _0x31cbe2;
        const {
                circularWait: _0x373bb0,
                getInteratorObj: _0x3829c8,
                getSingle: _0xc8c61a
            } = _0x58a3c3(0x0), _0x4b9663 = _0x58a3c3(0x5), {toastLog: _0x5a096b} = _0x58a3c3(0x2);
        let _0x1548a8 = null;
        const _0x351b23 = function () {
                let _0x25966e = device['sdkInt'];
                if (_0x25966e >= 0x1d)
                    return ![];
                let _0x434b3b = device['serial'], _0x2ab1d4 = device['getIMEI']() || _0x434b3b;
                return [
                    _0x2ab1d4,
                    _0x434b3b
                ];
            }, _0x7cbe39 = function () {
                const {
                    serial: _0x26bf4c,
                    fingerprint: _0x5b098c
                } = device;
                return [
                    _0x5b098c,
                    _0x26bf4c
                ];
            }, _0x4c17e0 = function () {
                const _0x132a18 = _0x3829c8(_0x351b23, _0x7cbe39);
                return {
                    'deviceImei': _0x132a18[0x0]['toUpperCase'](),
                    'deviceSerial': _0x132a18[0x1]['toUpperCase']()
                };
            }, _0x403e8a = _0xc8c61a(_0x4c17e0);
        _0x31cbe2['keyVerify'] = function (_0x591a26, _0x102146, _0x3c28a6) {
            _0x3c28a6 = _0x3c28a6 ? _0x3c28a6 : 'scriptName|deviceImei|phone|key_4';
            let _0x2e57f5 = _0x3c28a6['split']('|'), _0x579215 = [], _0x44c9ba;
            for (let _0x340732 = 0x0; _0x340732 < _0x2e57f5['length']; _0x340732++) {
                _0x44c9ba = _0x591a26[_0x2e57f5[_0x340732]], _0x44c9ba = _0x44c9ba ? _0x44c9ba : '', _0x579215['push'](_0x44c9ba);
            }
            let _0x3ad1aa = _0x579215['join']('_')['toString']()['trim']();
            _0x1548a8 = _0x1548a8 || _0x58a3c3(0x23);
            let _0x2fb0f5 = _0x1548a8['SHA256'](_0x3ad1aa)['toString']()['trim']();
            return _0x102146 === _0x2fb0f5;
        }, _0x31cbe2['postRenew'] = function () {
            let _0x4aa8ca = ![], _0x4f1ae0 = _0x4b9663['getBaseValue']('renewedScriptKey');
            if (!_0x4f1ae0)
                return _0x5a096b('[提示]无法续费'), _0x4aa8ca;
            let _0x25ed38 = 'http://39.98.69.102:51666/api/store/key/auth/renew/', _0x314a52 = {
                    'ip': '0.0.0.0',
                    'phone': _0x4b9663['getBaseValue']('phone'),
                    'originalKeyBizId': _0x4b9663['getBaseValue']('keyBizId'),
                    'scriptName': _0x4b9663['getProjectValue']('scriptName'),
                    'deviceImei': _0x403e8a()['deviceImei'],
                    'deviceSerial': _0x403e8a()['deviceSerial'],
                    'renewedScriptKey': _0x4f1ae0
                }, _0x3782af = http['postJson'](_0x25ed38, _0x314a52), _0x4bcab7 = _0x3782af['statusCode'], _0x6a77dc = JSON['parse'](_0x3782af['body']['string']());
            if (_0x4bcab7 == 0xc8) {
                let _0x3ec073 = _0x6a77dc['cipherTextSecond'];
                _0x3ec073 && (_0x314a52['key_4'] = _0x6a77dc['key_4'] ? _0x6a77dc['key_4'] : _0x4b9663['getBaseValue']('key_4'), _0x4aa8ca = _0x31cbe2['keyVerify'](_0x314a52, _0x3ec073), _0x4aa8ca && (_0x6a77dc['phone'] = _0x314a52['phone'], _0x31cbe2['succeedFunc'](_0x6a77dc)));
            } else
                _0x5a096b('[提示]' + _0x6a77dc['msg']);
            return _0x4aa8ca;
        }, _0x31cbe2['postHeart'] = function () {
            if (![]) {
            }
            let _0x3b59fe = ![], _0x431cdb = 'http://39.98.69.102:51666/api/store/key/auth/heart/', _0x512caf = {
                    'ip': '0.0.0.0',
                    'phone': _0x4b9663['getBaseValue']('phone'),
                    'keyBizId': _0x4b9663['getBaseValue']('keyBizId'),
                    'scriptName': _0x4b9663['getProjectValue']('scriptName'),
                    'deviceImei': _0x403e8a()['deviceImei'],
                    'deviceSerial': _0x403e8a()['deviceSerial']
                }, _0x1e24bd = http['postJson'](_0x431cdb, _0x512caf), _0x2be160 = _0x1e24bd['statusCode'], _0xdfb10a = JSON['parse'](_0x1e24bd['body']['string']());
            if (_0x2be160 == 0xc8) {
                let _0x388002 = _0xdfb10a['cipherTextSecond'];
                _0x388002 && (_0x512caf['key_4'] = _0xdfb10a['key_4'] ? _0xdfb10a['key_4'] : _0x4b9663['getBaseValue']('key_4'), _0x3b59fe = _0x31cbe2['keyVerify'](_0x512caf, _0x388002));
            } else
                _0x5a096b('[提示]' + _0xdfb10a['msg']);
            return _0x3b59fe;
        }, _0x31cbe2['heartbeat'] = function (_0x4d697e) {
            if (![]) {
            }
            if (_0x4d697e['split']('_')[0x0] == 'yl') {
                threads['shutDownAll']();
                return;
            }
            let _0x546fe4 = _0x31cbe2['getActivationState'](), _0x18b762 = 0x3;
            while (_0x546fe4 && _0x18b762 > 0x0) {
                _0x546fe4 = _0x31cbe2['postHeart'](), _0x546fe4 && (_0x18b762 -= 0x1, _0x373bb0(0x12c));
            }
            !_0x546fe4 ? (console['error']('[ac|L187]', '请检查软件激活状态及当前网络'), app['startActivity']('console'), engines['myEngine']()['forceStop']()) : threads['shutDownAll']();
        }, _0x31cbe2['postAuth'] = function () {
            let _0xaa0448 = ![], _0x246c5a = 'http://39.98.69.102:51666/api/store/key/auth/', _0x117120 = _0x31cbe2['KEYCODE']['getObj']();
            !_0x117120['key'] && _0x117120['authType'] === 0x1 && (_0x117120['authType'] = 0x2, _0x5a096b('调整\x20key:' + _0x117120['key'] + '\x20authType:' + _0x117120['authType']));
            console['verbose'](_0x117120);
            let _0x1f4e5d = http['postJson'](_0x246c5a, _0x117120), _0xdc9ca4 = _0x1f4e5d['statusCode'], _0x1c7349 = JSON['parse'](_0x1f4e5d['body']['string']());
            if (_0xdc9ca4 == 0xc8) {
                let _0x40759c = _0x1c7349['cipherTextSecond'];
                _0x40759c && (_0x117120['key_4'] = _0x1c7349['key_4'] ? _0x1c7349['key_4'] : _0x4b9663['getBaseValue']('key_4'), _0xaa0448 = _0x31cbe2['keyVerify'](_0x117120, _0x40759c), _0xaa0448 && (_0x1c7349['phone'] = _0x117120['phone'], _0x31cbe2['succeedFunc'](_0x1c7349)));
            } else {
                _0x5a096b('[提示]' + _0x1c7349['msg']);
                if (_0x117120['key']) {
                    let _0x3129d3 = JSON['stringify'](_0x117120);
                    _0x5a096b('已复制:' + _0x3129d3), setClip(_0x3129d3), _0x5a096b('激活失败,请粘贴剪切版内容,发送给客服.');
                }
            }
            return _0xaa0448;
        }, _0x31cbe2['KEYCODE'] = (function () {
            const _0x4fdfb3 = _0x4b9663['getBaseValue']('phone'), _0x302b8a = _0x4b9663['getProjectValue']('scriptName');
            let _0x4918d3 = {
                'ip': '0.0.0.0',
                'phone': _0x4fdfb3,
                'scriptName': _0x302b8a,
                'deviceImei': _0x403e8a()['deviceImei'],
                'deviceSerial': _0x403e8a()['deviceSerial'],
                'key': '',
                'authType': 0x2
            };
            return {
                'setAuthType': function (_0x1f7e5c) {
                    if (_0x1f7e5c === undefined)
                        _0x1f7e5c = 0x2;
                    let _0x44877f = ![];
                    return _0x4918d3['authType'] = _0x1f7e5c === 0x2 ? 0x2 : 0x1, _0x44877f = !![], _0x44877f;
                },
                'setKey': function (_0x16365d) {
                    let _0x38069c = ![];
                    return _0x4918d3['key'] = _0x16365d, _0x4918d3['authType'] = _0x16365d ? 0x1 : 0x2, _0x38069c = !![], _0x38069c;
                },
                'getKeyPostfix': function () {
                    let _0x3890c7 = '';
                    return _0x4918d3 && _0x4918d3['key'] && (_0x3890c7 = _0x4918d3['key']['split']('')['splice'](-0x4, 0x4)['join']('')), _0x3890c7;
                },
                'setPhone': function (_0x496a82) {
                    let _0xd31b40 = ![], _0x4df37c = new RegExp('^(1[3-9][0-9]|85[2,3])[0-9]{8}$');
                    return _0x4918d3 && _0x4df37c['test'](_0x496a82) && (_0x4918d3['phone'] = _0x496a82, _0xd31b40 = !![]), _0xd31b40;
                },
                'getObj': function () {
                    return _0x4918d3 ? _0x4918d3 : {};
                },
                'getPhone': function () {
                    return _0x4918d3 ? _0x4918d3['phone'] : '';
                },
                'getHeaders': function () {
                    let _0xdfe54b = {
                        'scriptName': _0x4918d3['scriptName'],
                        'keyBizId': _0x4b9663['getBaseValue']('keyBizId'),
                        'deviceImei': _0x4918d3['deviceImei'],
                        'deviceSerial': _0x4918d3['deviceSerial'],
                        'phone': _0x4918d3['phone']
                    };
                    return _0xdfe54b;
                }
            };
        }()), _0x31cbe2['getIndate'] = function () {
            let _0x173187 = 'http://39.98.69.102:51666/api/store/key/auth/validity-days?', _0x14abea = String(device['product']) + '&Android' + String(device['release']);
            console['log']('[ac|L301]', '【标志】当前设备信息如下:' + _0x14abea);
            let _0xd0484e = {
                    'deviceImei': _0x403e8a()['deviceImei'],
                    'deviceSerial': _0x403e8a()['deviceSerial'],
                    'deviceInfo': _0x14abea,
                    'keyBizId': _0x4b9663['getBaseValue']('keyBizId')
                }, _0x1945a0 = '', _0x37ad9d = [];
            for (let _0x30ead1 in _0xd0484e) {
                _0x37ad9d['push'](_0x30ead1 + '=' + _0xd0484e[_0x30ead1]);
            }
            _0x173187 += _0x37ad9d['join']('&');
            let _0x2cca60 = http['get'](_0x173187);
            if (_0x2cca60['statusCode'] == 0xc8) {
                let _0x30fae7 = JSON['parse'](_0x2cca60['body']['string']()), _0x38b10a = _0x30fae7['validity_days'];
                _0x1945a0 = '有效期至:\x0a' + _0x38b10a;
            } else
                _0x1945a0 = '尚未激活,无法查询有效期!';
            alert('提示', _0x1945a0);
        }, _0x31cbe2['getActivationState'] = function () {
            if (![]) {
            }
            let _0xf7c38 = ![], _0x55f147 = _0x4b9663['getBaseValue']('key_4'), _0x2d53ff = _0x4b9663['getBaseValue']('keyBizId');
            return _0x55f147 && _0x2d53ff && (_0xf7c38 = !![]), _0xf7c38;
        }, _0x31cbe2['succeedFunc'] = function (_0x4d5e60) {
            _0x5a096b('验证成功!');
            let _0x5a0d08 = _0x4d5e60['key_4'] ? _0x4d5e60['key_4'] : _0x4b9663['getBaseValue']('key_4');
            _0x4b9663['setBaseValue']('key_4', _0x5a0d08);
            let _0x637fd3 = _0x4d5e60['keyBizId'] ? _0x4d5e60['keyBizId'] : _0x4b9663['getBaseValue']('keyBizId');
            _0x4b9663['setBaseValue']('keyBizId', _0x637fd3);
            let _0x2c37d5 = _0x4d5e60['phone'] ? _0x4d5e60['phone'] : '';
            _0x4b9663['setBaseValue']('phone', _0x2c37d5), _0x31cbe2['getIndate']();
        };
    },
    0x23: function (_0x4b04d1, _0x2aebf4) {
        _0x4b04d1['exports'] = require('./sha256.js');
    },
    0x5: function (_0x595f40, _0x360e5d) {
        _0x595f40['exports'] = require('./info.js');
    }
});